#include<iostream>
using namespace std;
typedef long long LL;
const int N = 1e6 + 10;
int main()
{
	LL n, s;
	cin >> n >> s;
	//double ans = s * 1.0 / n;
	//cout << 4.9 * 7 << endl;
	int k = s % n;
	//cout<<"k=="<<k<<endl;
	for (int i = 0; i < n - k; i++) {
		cout << s / n << " ";
	}
	for (int i = 0; i < k; i++) {
		cout << s / n + 1 << " ";
	}
	return 0;
}